package com.eeds.model.index.vo;

import com.eeds.model.culture.vo.CultureVO;
import com.eeds.para.ParametersUtil;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@ApiModel("欢迎页企业文化响应参数")
@EqualsAndHashCode(callSuper =false)
public class CorporateCultureVO  extends CultureVO {

    public CorporateCultureVO(){

    }

    public CorporateCultureVO(CultureVO cultureVO){
        if(ParametersUtil.isNotNull(cultureVO)) {
            this.setIdCulture(cultureVO.getIdCulture());
            this.setTitle(cultureVO.getTitle());
            this.setContent(cultureVO.getContent());
            this.setType(cultureVO.getType());
        }
    }
}
